<template>
  <el-container class="main">
    <el-header><common-header></common-header></el-header>
    <el-main><router-view /></el-main>
  </el-container>
</template>

<script>
import CommonHeader from '../common/commonHeader'
export default {
  name: 'Main',
  components: {
    CommonHeader
  },
  data() {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.main {
  /deep/.el-main {
    padding: 0;
  }
  /deep/.el-header {
    padding: 0;
    height: 0 !important;
  }
  /deep/.el-footer {
    padding: 0;
  }
}
</style>
